home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / program / skeleton.zip / Resource.rc < prev    next >
Text File  |  1996-06-02  |  4KB  |  129 lines

  1. #define    DS_MODALFRAME    0x00000080L    // Definition of Windows constants
  2. #define    WS_SYSMENU    0x00080000L
  3. #define    WS_CAPTION    0x00C00000L
  4. #define    WS_POPUP    0x80000000L
  5. #define    IDOK        0x00000001L
  6.  
  7. #define    SC_SIZE        0xF000
  8. #define    SC_MOVE        0xF010
  9. #define    SC_MINIMIZE    0xF020
  10. #define    SC_MAXIMIZE    0xF030
  11. #define    SC_CLOSE    0xF060
  12. #define    SC_RESTORE    0xF120
  13.  
  14. #define    IDI_ICON    0x01L        // IDs same as in Common.inc
  15. #define    IDM_MENU    0x02L
  16. #define    IDA_ACCEL    0x03L
  17. #define    IDD_ABOUT    0x04L
  18.  
  19. #define    IDS_SYSMENU    0x010L
  20. #define    IDM_FILEMENU    0x011L
  21. #define    IDM_HELPMENU    0x012L
  22.  
  23. #define    IDM_NEW        0x020L
  24. #define    IDM_OPEN    0x021L
  25. #define    IDM_SAVE    0x022L
  26. #define    IDM_SAVEAS    0x023L
  27. #define    IDM_EXIT    0x024L
  28. #define    IDM_HELPTOPICS    0x025L
  29. #define    IDM_ABOUT    0x026L
  30.  
  31. IDI_ICON ICON "Icon.ico"
  32.  
  33. IDM_MENU MENU DISCARDABLE
  34. BEGIN
  35.     POPUP "&File"
  36.     BEGIN
  37.         MENUITEM "&New\tCtrl+N",    IDM_NEW
  38.         MENUITEM "&Open...\tCtrl+O",    IDM_OPEN
  39.         MENUITEM "&Save\tCtrl+S",    IDM_SAVE
  40.         MENUITEM "Save &As...",        IDM_SAVEAS
  41.         MENUITEM SEPARATOR
  42.         MENUITEM "E&xit",        IDM_EXIT
  43.     END
  44.     POPUP "&Help"
  45.     BEGIN
  46.         MENUITEM "&Help Topics",    IDM_HELPTOPICS
  47.         MENUITEM SEPARATOR
  48.         MENUITEM "&About Skeleton",    IDM_ABOUT
  49.     END
  50. END
  51.  
  52. IDA_ACCEL ACCELERATORS
  53. BEGIN
  54.     "N", IDM_NEW,    CONTROL, VIRTKEY
  55.     "O", IDM_OPEN,    CONTROL, VIRTKEY
  56.     "S", IDM_SAVE,    CONTROL, VIRTKEY
  57. END
  58.  
  59. IDD_ABOUT DIALOG DISCARDABLE 0, 0, 160, 80
  60. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | WS_POPUP
  61. FONT 8,"MS Sans Serif"
  62. CAPTION "About Skeleton"
  63. BEGIN
  64.     ICON    IDI_ICON,                -1,  8, 8,  0, 0
  65.     CTEXT    "APPLICATION Version #.#",        -1, 30, 8,100, 8
  66.     CTEXT    "Copyright \251 1996 COMPANY",        -1, 30,16,100, 8
  67.     CTEXT    "DESCRIPTION",                -1,  0,32,160, 8
  68.     CTEXT    "by NAME",                -1,  0,40,160, 8
  69.     CTEXT    "YYYY-MM-DD",                -1,  0,48,160, 8
  70.     DEFPUSHBUTTON "OK",                  IDOK,102,60, 50,14
  71. END
  72.  
  73. STRINGTABLE
  74. BEGIN
  75.     IDS_SYSMENU    ,"Contains commands for manipulating this window."    // for StatusBar
  76.     SC_RESTORE    ,"Restores this window to normal size."
  77.     SC_MOVE        ,"Moves this window."
  78.     SC_SIZE        ,"Resizes this window."
  79.     SC_MINIMIZE    ,"Collapses this window to an icon."
  80.     SC_MAXIMIZE    ,"Expands this window to fill the screen."
  81.     SC_CLOSE    ,"Closes this window."
  82.  
  83.     IDM_FILEMENU    ,"Contains commands for working with documents."
  84.     IDM_NEW        ,"Creates a new document."
  85.     IDM_OPEN    ,"Opens an existing document."
  86.     IDM_SAVE    ,"Saves the document."
  87.     IDM_SAVEAS    ,"Saves the document with a new name."
  88.     IDM_EXIT    ,"Quits Skeleton."
  89.  
  90.     IDM_HELPMENU    ,"Contains commands for displaying Help."
  91.     IDM_HELPTOPICS    ,"Displays the Help Contents and Index."
  92.     IDM_ABOUT    ,"Displays program information, version number, and copyright."
  93.  
  94.     IDM_NEW+0x080L    ,"New"        // for ToolTips
  95.     IDM_OPEN+0x080L    ,"Open"
  96.     IDM_SAVE+0x080L    ,"Save"
  97. END
  98.  
  99. 1 VERSIONINFO
  100. FILEVERSION    2,0,0,0
  101. PRODUCTVERSION    2,0,0,0
  102. FILEFLAGSMASK    0x0000003FL
  103. FILEFLAGS    0x0000000BL
  104. FILEOS        0x00010001L
  105. FILETYPE    0x00000001L
  106. FILESUBTYPE    0x00000000L
  107. BEGIN
  108.     BLOCK "StringFileInfo"
  109.     BEGIN
  110.         BLOCK "040904E4"
  111.         BEGIN
  112.             VALUE "CompanyName",    "COMPANY\0"
  113.             VALUE "Comments",    "COMMENT\0"
  114.             VALUE "FileDescription","DESCRIPTION\0"
  115.             VALUE "FileVersion",    "VERSION #.#\0"
  116.             VALUE "InternalName",    "INTERNAL NAME\0"
  117.             VALUE "LegalCopyright",    "Copyright \251 1996 COMPANY\0"
  118.             VALUE "LegalTrademarks","TRADEMARKS\0"
  119.             VALUE "OriginalFilename","FILENAME\0"
  120.             VALUE "ProductName",    "NAME\0"
  121.             VALUE "ProductVersion",    "VERSION #.#\0"
  122.         END
  123.     END
  124.     BLOCK "VarFileInfo"
  125.     BEGIN
  126.         VALUE "Translation", 0x0409, 1252
  127.     END
  128. END
  129.